﻿using System.Windows.Controls;
using TorchView.Composition;
using TorchView.PakViewer;
using System.Collections.ObjectModel;

namespace TorchView.PakViewer
{
    /// <summary>
    /// Interaction logic for UserControl1.xaml
    /// </summary>
    public partial class PakView : UserControl, IView<IPakViewModel>
    {
        public PakView()
        {
            InitializeComponent();
        }

        private IPakViewModel _Model;

        public IPakViewModel Model
        {
            get { return _Model; }
            set
            {
                _Model = value;
                DataContext = value;
            }
        }
    }
}
